package com.infocollect.project.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.infocollect.project.api.entity.TappOrganEntity;

import java.util.List;

/**
 * (TappOrgan)表数据库访问层
 *
 * @author makejava
 * @since 2019-12-25 10:32:29
 */
public interface TappOrganMapper extends BaseMapper<TappOrganEntity> {

    /**
     * 通过实体作为筛选条件查询
     *
     * @param tappOrgan 实例对象
     * @return 对象列表
     */
    List<TappOrganEntity> queryAll(TappOrganEntity tappOrgan);

    /**
     * 根据机构名称和code查询
     * @param workkey
     * @return
     */
    List<TappOrganEntity> queryNameOrCode(String workkey);



}